package cn.lingyangwl.agile.misc.statistic.model;

import cn.lingyangwl.agile.misc.statistic.constant.*;
import cn.lingyangwl.agile.misc.statistic.model.entity.*;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 以天为维度的统计请求
 * @author shenguangyang
 */
@Getter
@Setter
@AllArgsConstructor
@Builder
@NoArgsConstructor
@Accessors(chain = true)
public class DayDimStatReq extends StatisticBaseReq {

    @Override
    public String getName() {
        return StatisticCons.QUEUE_DAYS;
    }

    @Override
    public Class<? extends StatBasePO> getEntityClass() {
        return StatDayRecord.class;
    }

    // 登录成功次数
    private Integer loginSuccessCount;

    // 登录失败次数
    private Integer loginFailCount;

    // 退出次数
    private Integer logoutCount;

    // 请求成功次数
    private Integer accessSuccessCount;

    // 请求失败次数
    private Integer accessFailCount;

    // 会员注册数量
    private Integer memberRegisterCount;

    // 会员注销数量
    private Integer memberCancelCount;
}
